-- GENERATED SPELL FOR [Wooly Rhino Matriarch] --


function spell0_25487(pUnit, Event) --@Thick Hide,Self--
pUnit:FullCastSpellOnTarget(50502,pUnit)
pUnit:RegisterEvent('Sorts_25487', 617, 1)
end

function Sorts_25487(pUnit, Event)
local choix_sorts_25487 = math.random(0, 0)
if choix_sorts_25487 == 0 then
pUnit:RegisterEvent('spell0_25487', 1, 1)
end
end

function mob25487_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25487', math.random(1500, 3000), 1)
end

function mob25487_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25487_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25487_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25487, 1, 'mob25487_Action')
RegisterUnitEvent(25487, 2, 'mob25487_Leave')
RegisterUnitEvent(25487, 3, 'mob25487_Kill')
RegisterUnitEvent(25487, 4, 'mob25487_Die')
